package com.ziyun.pop.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单同步记录表
 * @author guizhao
 * @date 2018-08-04 10:28:30
 */
@TableName("syn_order_record")
public class SynOrderRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增ID
	 */
	@TableId
	private Integer sorId;
	/**
	 * 来源:1.紫云网
	 */
	private Integer source;
	/**
	 * 订单号
	 */
	private String orderId;
	/**
	 * erp订单号
	 */
	private String erpOrder;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 1:失效，0：不失效
	 */
	private Integer disable;

	/**
	 * 自增ID
	 * @return
	 */
	public Integer getSorId() {
		return sorId;
	}

	/**
	 * 自增ID
	 * @param sorId
	 */
	public void setSorId(Integer sorId) {
		this.sorId = sorId;
	}

	/**
	 * 获取 订单来源
	 * @return
	 */
	public Integer getSource() {
		return source;
	}

	/**
	 * 设置 订单来源
	 * @param source
	 */
	public void setSource(Integer source) {
		this.source = source;
	}

	/**
	 * 获取 源订单ID
	 * @return
	 */
	public String getOrderId() {
		return orderId;
	}

	/**
	 * 设置 源订单ID
	 * @param orderId
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	/**
	 * 获取 erp订单号
	 * @return
	 */
	public String getErpOrder() {
		return erpOrder;
	}

	/**
	 * 设置 erp订单号
	 * @param erpOrder
	 */
	public void setErpOrder(String erpOrder) {
		this.erpOrder = erpOrder;
	}

	/**
	 * 获取 创建时间
	 * @return
	 */
	public Date getCreatetime() {
		return createtime;
	}

	/**
	 * 设置 创建时间
	 * @param createtime
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/**
	 * 获取 是否删除
	 * @return
	 */
	public Integer getDisable() {
		return disable;
	}

	/**
	 * 设置是否删除
	 * @param disable
	 */
	public void setDisable(Integer disable) {
		this.disable = disable;
	}
}
